package com.woniuxy.order.service;

import com.woniuxy.order.entity.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import zsd.waste.dto.OrderInfoDto;
import zsd.waste.form.*;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-05-13
 */
public interface IOrderInfoService extends IService<OrderInfo> {

    OrderInfo createOrder(CreateOrderForm form)throws Exception;

    List<OrderInfoDto> findMyOrder(Integer userId,Integer pageNum,Integer pageSize)throws Exception;


    List<OrderInfoDto> findAllOrder(FindAllOrderFrom findAllOrderFrom)throws Exception;

    List<OrderInfoDto> findSiteOrder(FindSiteOrderFrom findSiteOrderFrom,Integer userId)throws Exception;

    void siteOrder(SiteOrderForm wof, String adminId)throws Exception;

    void workOrder(WorkOrderForm form,Integer userId)throws Exception;

    void confirmOrder(String orderNumber, Integer id)throws Exception;


    List<OrderInfoDto> temporaryOrderInfo(Integer id, Integer pageNum, Integer pageSize)throws Exception;
}



